package com.ruoyi.crm.mapper;

import java.util.List;
import com.ruoyi.crm.domain.SysGoodsIn;

/**
 * 进货Mapper接口
 * 
 * @author ruoyi
 * @date 2022-12-11
 */
public interface SysGoodsInMapper 
{
    /**
     * 查询进货
     * 
     * @param id 进货主键
     * @return 进货
     */
    public SysGoodsIn selectSysGoodsInById(Long id);

    /**
     * 查询进货列表
     * 
     * @param sysGoodsIn 进货
     * @return 进货集合
     */
    public List<SysGoodsIn> selectSysGoodsInList(SysGoodsIn sysGoodsIn);

    /**
     * 新增进货
     * 
     * @param sysGoodsIn 进货
     * @return 结果
     */
    public int insertSysGoodsIn(SysGoodsIn sysGoodsIn);

    /**
     * 修改进货
     * 
     * @param sysGoodsIn 进货
     * @return 结果
     */
    public int updateSysGoodsIn(SysGoodsIn sysGoodsIn);

    /**
     * 删除进货
     * 
     * @param id 进货主键
     * @return 结果
     */
    public int deleteSysGoodsInById(Long id);

    /**
     * 批量删除进货
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysGoodsInByIds(Long[] ids);
}
